/* 
 * Since 2008 - 2012
 */
package com.hh.bss.auth.vo.query;

import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import java.io.Serializable;

import java.util.*;

import com.hh.bss.auth.dao.*;
import com.hh.bss.auth.entity.*;
import com.hh.bss.auth.service.*;
import com.hh.bss.auth.vo.query.*;
import com.hh.bss.base.*;
import com.hh.bss.common.page.*;
import com.hh.bss.common.page.impl.*;
import com.hh.bss.util.*;





public class SystemUserQuery extends BaseQuery implements Serializable {
    private static final long serialVersionUID = 3148176768559230877L;
    

	/** id */
	private java.lang.Integer id;
	/** 等帐号 */
	private java.lang.String account;
	/** 存放md5密码 */
	private java.lang.String passwd;
	/** 姓名 */
	private java.lang.String name;
	/** 分公司 */
	private java.lang.String branchNbr;
	/** 部门 */
	private java.lang.String deptId;
	/** 岗位 */
	private java.lang.Integer titleId;
	
	/** 岗位 */
	private String title;
	
	/** 状态 */
	private java.lang.String status;
	/** 需要考勤打卡 */
	private java.lang.String needCheckin;
	/** 电话 */
	private java.lang.String tel;
	/** 移动电话 */
	private java.lang.String mobile;
	/** 内部电子邮箱 */
	private java.lang.String email;
	/** 邮箱密码 */
	private java.lang.String emailPasswd;
	/** msn */
	private java.lang.String msn;
	/** 备注 */
	private java.lang.String comment;
	/** creator */
	private java.lang.String creator;
	/** createDt */
	private java.util.Date createDtBegin;
	private java.util.Date createDtEnd;
	/** modifier */
	private java.lang.String modifier;
	/** modifiedDt */
	private java.util.Date modifiedDtBegin;
	private java.util.Date modifiedDtEnd;
	private String branchCompanyName;

	private Integer branchCompanyId;
	private Integer userId;
	
	
	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Integer getBranchCompanyId() {
		return branchCompanyId;
	}

	public void setBranchCompanyId(Integer branchCompanyId) {
		this.branchCompanyId = branchCompanyId;
	}

	public String getBranchCompanyName() {
		return branchCompanyName;
	}

	public void setBranchCompanyName(String branchCompanyName) {
		this.branchCompanyName = branchCompanyName;
	}

	public java.lang.Integer getId() {
		return this.id;
	}
	
	public void setId(java.lang.Integer value) {
		this.id = value;
	}
	
	public java.lang.String getAccount() {
		return this.account;
	}
	
	public void setAccount(java.lang.String value) {
		this.account = value;
	}
	
	public java.lang.String getPasswd() {
		return this.passwd;
	}
	
	public void setPasswd(java.lang.String value) {
		this.passwd = value;
	}
	
	public java.lang.String getName() {
		return this.name;
	}
	
	public void setName(java.lang.String value) {
		this.name = value;
	}
	
	public java.lang.String getBranchNbr() {
		return this.branchNbr;
	}
	
	public void setBranchNbr(java.lang.String value) {
		this.branchNbr = value;
	}
	
	public java.lang.String getDeptId() {
		return this.deptId;
	}
	
	public void setDeptId(java.lang.String value) {
		this.deptId = value;
	}
	
	
	
	public java.lang.Integer getTitleId() {
		return titleId;
	}

	public void setTitleId(java.lang.Integer titleId) {
		this.titleId = titleId;
	}

	public java.lang.String getStatus() {
		return this.status;
	}
	
	public void setStatus(java.lang.String value) {
		this.status = value;
	}
	
	public java.lang.String getNeedCheckin() {
		return this.needCheckin;
	}
	
	public void setNeedCheckin(java.lang.String value) {
		this.needCheckin = value;
	}
	
	public java.lang.String getTel() {
		return this.tel;
	}
	
	public void setTel(java.lang.String value) {
		this.tel = value;
	}
	
	public java.lang.String getMobile() {
		return this.mobile;
	}
	
	public void setMobile(java.lang.String value) {
		this.mobile = value;
	}
	
	public java.lang.String getEmail() {
		return this.email;
	}
	
	public void setEmail(java.lang.String value) {
		this.email = value;
	}
	
	public java.lang.String getEmailPasswd() {
		return this.emailPasswd;
	}
	
	public void setEmailPasswd(java.lang.String value) {
		this.emailPasswd = value;
	}
	
	public java.lang.String getMsn() {
		return this.msn;
	}
	
	public void setMsn(java.lang.String value) {
		this.msn = value;
	}
	
	public java.lang.String getComment() {
		return this.comment;
	}
	
	public void setComment(java.lang.String value) {
		this.comment = value;
	}
	
	public java.lang.String getCreator() {
		return this.creator;
	}
	
	public void setCreator(java.lang.String value) {
		this.creator = value;
	}
	
	public java.util.Date getCreateDtBegin() {
		return this.createDtBegin;
	}
	
	public void setCreateDtBegin(java.util.Date value) {
		this.createDtBegin = value;
	}	
	
	public java.util.Date getCreateDtEnd() {
		return this.createDtEnd;
	}
	
	public void setCreateDtEnd(java.util.Date value) {
		this.createDtEnd = value;
	}
	
	public java.lang.String getModifier() {
		return this.modifier;
	}
	
	public void setModifier(java.lang.String value) {
		this.modifier = value;
	}
	
	public java.util.Date getModifiedDtBegin() {
		return this.modifiedDtBegin;
	}
	
	public void setModifiedDtBegin(java.util.Date value) {
		this.modifiedDtBegin = value;
	}	
	
	public java.util.Date getModifiedDtEnd() {
		return this.modifiedDtEnd;
	}
	
	public void setModifiedDtEnd(java.util.Date value) {
		this.modifiedDtEnd = value;
	}
	
	private String field_type;
	private String query;

	public String getField_type() {
		return field_type;
	}

	public void setField_type(String file_type) {
		this.field_type = file_type;
	}

	public String getQuery() {
		return query;
	}

	public void setQuery(String query) {
		this.query = query;
	}
        private String sort;
	private String dir;

        public String getSort() {
		return sort;
	}

	public void setSort(String sort) {
		
		this.sort = sort;
		if (!StringHelper.isEmpty(sort)&&!StringHelper.isEmpty(dir))
		  this.setSortColumns(sort+" "+dir);
	}

	public String getDir() {
		return dir;
	}

	public void setDir(String dir) {
		this.dir = dir;
	}
	public String toString() {
		return ToStringBuilder.reflectionToString(this,ToStringStyle.MULTI_LINE_STYLE);
	}
	
}

